﻿
using ED.FreeSql.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace ED.Entity
{
    /// <summary>
    ///  Base_Post    
    /// </summary>
    [Table("Base_Post")]
    public class Base_PostEntity : BaseEntity<int>
    {

        /// <summary>
        /// 岗位名称    
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 岗位编码    
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 排序    
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        /// 组织机构id    
        /// </summary>
        public int? DepartmentId { get; set; }

        /// <summary>
        /// 是否删除    
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 创建时间    
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// 创建人    
        /// </summary>
        public int? CreatedBy { get; set; }

        /// <summary>
        /// 更新时间    
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 更新人    
        /// </summary>
        public int? UpdatedBy { get; set; }

    }
}
